//
//  MusicListCell.m
//  MHMusic
//
//  Created by 马欢 on 16/1/6.
//  Copyright © 2016年 蓝鸥. All rights reserved.
//

#import "MusicListCell.h"
#import "UIImageView+WebCache.h"

@interface MusicListCell ()

@end

@implementation MusicListCell

-(void)setSong:(SongModel *)song{
    self.musicNameLabel.text = song.name;
    self.singerLabel.text = song.singerName;
    [self.Picture sd_setImageWithURL:[NSURL URLWithString:song.picUrl] placeholderImage:[UIImage imageNamed:@"placeholder.jpg"]];
    self.imageView.layer.masksToBounds = YES;
    self.imageView.layer.cornerRadius = self.frame.size.width/2.0;
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
